export default {
	data(){
		return {
			mColor:"#ee0a24",
			baseUrl:"https://d33a5037-6c63-4e92-8bb1-30018ab701ea.bspapp.com/http",
			 errorImg:require('@/assets/error.png')
		}
	},
	methods:{
		//  图片加载错误 事件
		imgError(e){
			// console.log(e)
			e.target.src = this.errorImg
		},
		checkLogin(){

				if(!this.$store.state.user.isLogin){
					this.$toast('请先登陆')
					setTimeout(() => {
					   this.$router.push('/login')
					}, 1000);
						return false
				}
				return true


		}
	}
}